﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShiQuan.Hanker
{
    /// <summary>
    /// 通道信息
    /// </summary>
    public class ChannelInfo
    {
        /// <summary>
        /// 设备通道号
        /// </summary>
        public int StreamType { get; set; }
        /// <summary>
        /// 设备通道号
        /// </summary>
        public int ChannelIndex { get; set; }
        /// <summary>
        /// 设备通道名
        /// </summary>
        public string ChannelName { get; set; }
        /// <summary>
        /// 设备通道号
        /// </summary>
        public int IPIndex { get; set; }
        
        /// <summary>
        /// 设备通道号
        /// </summary>
        public string IPAddress { get; set; }
        /// <summary>
        /// 设备通道号
        /// </summary>
        public string ChannelNo { get; set; }
        /// <summary>
        /// 设备通道号
        /// </summary>
        public string DVRPort { get; set; }

        /// <summary>
        /// 设备通道号
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 设备通道号
        /// </summary>
        public string Password { get; set; }
        
        public uint ProType { get; set; }
        public int TransMode{get;set; }

        public int TransProtocol { get; set; }

        public ChannelInfo() { }
        public ChannelInfo(int channelIndex,string channelName)
        {
            this.ChannelIndex = channelIndex;
            this.ChannelName = channelName;
        }

        public ChannelInfo(int channelIndex, string channelName, int ipIndex)
        {
            this.ChannelIndex = channelIndex;
            this.ChannelName = channelName;
            this.IPIndex = ipIndex;
        }
    }
}
